/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.app;

import cn.webrx.Book;

/**
 * <p>Project: javaseapp - Test
 * <p>Powered by webrx On 2021-08-04 15:28:41
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class Test {
    public static void main(String[] args) {

        //第一次实例化时执行静态程序段static-1  static-2
        var b0 = new Book("php");
        b0.show();
        System.out.println("---------------------------------- ---");

        var b1 = new Book();
        b1.show();

        System.out.println("-------------------------------------");
        var b2 = new Book("《java程序设计入门》");
        b2.show();

        System.out.println("-------------------------------------");
        Book b3 = new Book("《python入门》");
        b3.show();
    }
}
